package com.cs171.market.mapper;

import com.cs171.market.entity.OrderList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderListMapper {
    @Select("select oid,osend,oprice from sp_order where uid=#{uid}")
    List<OrderList> getOrderByUid(Integer uid);
}
